<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>erp::company::ao::CCompanyAo</title>
<link href="http://oz.ecc.com/static/css/bootstrap.css" rel="stylesheet" media="screen">
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar">
<!--#include virtual="/sinclude/common/header.html" -->
<div class="container-fluid">
  <div class="row-fluid">
    <div class="span2 bs-docs-sidebar">
      <ul class="nav nav-list bs-docs-sidenav affix"> 
        <li> <a href="#AddAndUpdateCompanyInfo"><i class="icon-chevron-right"></i>AddAndUpdateCompanyInfo</a> </li>
        <li> <a href="#DeleteCompanyInfo"><i class="icon-chevron-right"></i>DeleteCompanyInfo</a> </li>
        <li> <a href="#GetCompanyInfoByIds"><i class="icon-chevron-right"></i>GetCompanyInfoByIds</a> </li>
        <li> <a href="#GetCompanyInfoByFilter"><i class="icon-chevron-right"></i>GetCompanyInfoByFilter</a> </li>
      </ul>
    </div>
    <div class="span10"> 	
    	     
 <h3>服务  erp::company::ao::CCompanyAo</h2>
 
<section id="AddAndUpdateCompanyInfo">		
<h3>AddAndUpdateCompanyInfo</h3>
<pre class="prettyprint">
原型: uint32_t AddAndUpdateCompanyInfo(
		 const CCntlInfo& rCntlInfo,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strMachineKey,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strSource,
		 uint32_t dwSceneId,
		 uint32_t dwOption,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const erp_company_po_ccompanyinfopo">const erp::company::po::CCompanyInfoPo</a></span>& oCompanyInfoPo,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strInReserve,
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strErrmsg,
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strOutReserve
		);
服务描述: 添加/修改用户企业信息；传入用户企业SysNo不为0时则进行修改，反之则进行添加；
命令字: 0xc0670001
请求参数: 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strMachineKey  : 机器码，必填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strSource  : 调用来源，必填 
		 uint32_t dwSceneId  : 场景ID，必填 
		 uint32_t dwOption  : 功能选项，扩展选填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const erp_company_po_ccompanyinfopo">const erp::company::po::CCompanyInfoPo</a></span>& oCompanyInfoPo  : 用户企业PO，必填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strInReserve  : 请求保留字 
返回参数: 		
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strErrmsg  : 错误信息 
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strOutReserve  : 返回保留字  
</pre>
</section>
<section id="DeleteCompanyInfo">		
<h3>DeleteCompanyInfo</h3>
<pre class="prettyprint">
原型: uint32_t DeleteCompanyInfo(
		 const CCntlInfo& rCntlInfo,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strMachineKey,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strSource,
		 uint32_t dwSceneId,
		 uint32_t dwOption,
		 uint64_t ddwCompanySysNo,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strInReserve,
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strErrmsg,
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strOutReserve
		);
服务描述: 删除用户企业（逻辑）
命令字: 0xc0670002
请求参数: 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strMachineKey  : 机器码，必填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strSource  : 调用来源，必填 
		 uint32_t dwSceneId  : 场景ID，必填 
		 uint32_t dwOption  : 功能选项，扩展选填 
		 uint64_t ddwCompanySysNo  : 需删除用户企业的SysNo，必填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strInReserve  : 请求保留字 
返回参数: 		
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strErrmsg  : 错误信息 
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strOutReserve  : 返回保留字  
</pre>
</section>
<section id="GetCompanyInfoByIds">		
<h3>GetCompanyInfoByIds</h3>
<pre class="prettyprint">
原型: uint32_t GetCompanyInfoByIds(
		 const CCntlInfo& rCntlInfo,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strMachineKey,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strSource,
		 uint32_t dwSceneId,
		 uint32_t dwOption,
		 const std::set<uint64_t>& setCompanySysNo,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strInReserve,
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strErrmsg,
		std::map<uint64_t,uint32_t>& mapErrorCode,
		std::map<uint64_t,<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>>& mapErrorMsg,
		std::map<uint64_t,<span class="atn"><a href="/index.php/idl_ci/doc/member/erp_company_po_ccompanyinfopo">erp::company::po::CCompanyInfoPo</a></span>>& mapCompanyInfoPo,
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strOutReserve
		);
服务描述: 根据用户企业ID批量获取用户企业信息
命令字: 0xc0670003
请求参数: 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strMachineKey  : 机器码，必填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strSource  : 调用来源，必填 
		 uint32_t dwSceneId  : 场景ID，必填 
		 uint32_t dwOption  : 功能选项，扩展选填 
		 const std::set<uint64_t>& setCompanySysNo  : 需获取的用户企业SysNo，必填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strInReserve  : 请求保留字 
返回参数: 		
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strErrmsg  : 错误信息 
		std::map<uint64_t,uint32_t>& mapErrorCode  : 获取失败的错误码
		std::map<uint64_t,<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>>& mapErrorMsg  : 获取失败的错误信息
		std::map<uint64_t,<span class="atn"><a href="/index.php/idl_ci/doc/member/erp_company_po_ccompanyinfopo">erp::company::po::CCompanyInfoPo</a></span>>& mapCompanyInfoPo  : 获取成功的用户企业信息
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strOutReserve  : 返回保留字  
</pre>
</section>
<section id="GetCompanyInfoByFilter">		
<h3>GetCompanyInfoByFilter</h3>
<pre class="prettyprint">
原型: uint32_t GetCompanyInfoByFilter(
		 const CCntlInfo& rCntlInfo,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strMachineKey,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strSource,
		 uint32_t dwSceneId,
		 uint32_t dwOption,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const erp_company_po_ccompanyfilterpo">const erp::company::po::CCompanyFilterPo</a></span>& oFilter,
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strInReserve,
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strErrmsg,
		 uint32_t& dwTotal,
		std::vector<<span class="atn"><a href="/index.php/idl_ci/doc/member/erp_company_po_ccompanyinfopo">erp::company::po::CCompanyInfoPo</a></span>>& vecCompanyInfoPo,
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strOutReserve
		);
服务描述: 根据过滤条件查询用户企业列表信息
命令字: 0xc0670004
请求参数: 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strMachineKey  : 机器码，必填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strSource  : 调用来源，必填 
		 uint32_t dwSceneId  : 场景ID，必填 
		 uint32_t dwOption  : 功能选项，扩展选填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const erp_company_po_ccompanyfilterpo">const erp::company::po::CCompanyFilterPo</a></span>& oFilter  : 过滤器，必填 
		 <span class="atn"><a href="/index.php/idl_ci/doc/member/const std_string">const std::string</a></span>& strInReserve  : 请求保留字 
返回参数: 		
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strErrmsg  : 错误信息 
		 uint32_t& dwTotal  : 用户企业总数
		std::vector<<span class="atn"><a href="/index.php/idl_ci/doc/member/erp_company_po_ccompanyinfopo">erp::company::po::CCompanyInfoPo</a></span>>& vecCompanyInfoPo  : 用户企业列表信息
		<span class="atn"><a href="/index.php/idl_ci/doc/member/std_string">std::string</a></span>& strOutReserve  : 返回保留字  
</pre>
</section>

<!--#include virtual="/sinclude/common/footer.html" -->
</body>
</html>